package com.jobpass.common.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jobpass.common.model.Practice;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author JobPass
 * @since 2020-07-17
 */
public interface PracticeService extends IService<Practice> {
    /**
     * 查询所有Practice
     * @return
     */
    List<Practice> FindAllPractice ();

    /**
     * 根据ID查询Practice
     *
     */
    Practice FindPracticeById(Long id);

    /**
     * 根据id删除Practice
     */
    int DeletePracticeById(Long id);

    /**
     * 根据id修改Practice Id 和 其他修改项
     */
    int UpdatePracticeById(Practice practice);

    /**
     * 添加Practice
     */
    int SavaPractice(Practice practice);
}
